<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>自定义登录页面</title>
</head>
<body>
<h1>login</h1>
<form method="post" th:method="post" th:action="@{/login}">
    <label>
        <input type="text" name="username" placeholder="username" />
    </label>
    <br>
    <label>
        <input type="password" name="password" placeholder="password" />
    </label>
    <br>
    <input type="submit" value="login">
</form>
</body>
</html>